package Model;

import java.util.Date;

public class LineaView {
	private String nroLinea;
	private Date fechaAlta;
	private PlanView plan;
	
	public LineaView(String nroLinea, Date fechaAlta, PlanView plan){
		super();
		this.nroLinea = nroLinea;
		this.fechaAlta = fechaAlta;
		this.plan = plan;
	}
	
	public String getNroLinea(){
		return nroLinea;
	}
	
	public Date getFechaAlta(){
		return fechaAlta;
	}
	
	public PlanView getPlan(){
		return plan;
	}
	
	public boolean isAdicional(){
		return false;
	}
	
	public String toString (){
		return (this.nroLinea + " " + this.getPlan().getDescripcion());
	}
}
